package com.qf.day06;

public class Main {
    public static void main(String[] args) {
//        User user = new User();
//        user.setName("aaaa");
//        user.setAge(19);
//        System.out.println(user);
        Fish fish = new Fish();
        fish.setName("小白");
        fish.setType("鲤鱼");
        fish.setSex("男");
        fish.setAge(2);
        fish.setBreathe("腮");
        System.out.println(fish);
        fish.eat();
        fish.swim();
        Fish fish1 = new Fish("小黑","鲫鱼",3,"女","腮");
        System.out.println(fish1);
        Animal animal = new Animal();
        System.out.println(animal);
        int i=animal.hashCode();
        System.out.println(i);
    }
}
